﻿using System;

namespace Gmantis.Controls.DataGrid
{
    public class DataGridColumnReorderingEventArgs : EventArgs
    {
        // Methods
        internal DataGridColumnReorderingEventArgs(DataGridColumn column)
        {
            this.Column = column;
        }

        // Properties
        public bool Cancel { get; set; }

        public DataGridColumn Column { get; private set; }

        public int TargetColumnIndex { get; set; }
    }
}
